package com.hontech.desktoppastacooker.device

data class Rfid(
    val rssi: Int,
    val pc: Int,
    val epc: String,
    val crc: Int,
) {


    override fun hashCode(): Int {
        return epc.hashCode()
    }

    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false

        other as Rfid

        if (epc != other.epc) return false

        return true
    }


}